let b=2;
let a:number=1;

const getUserInfo=(user:{name:string,age:number}):string=>{
    return `name:${user.name} age:${user.age}`;
}
getUserInfo({name:'niaho',age:17});